<header>
	<h3><?= lang('image_manage') ?> <span>- <?= lang('image_create') ?></span></h3>
</header>
<section class="welly">
	<form id="create_product" method="post"	action="" class="form-horizontal" enctype="multipart/form-data">
		<input type="hidden" name="submit" value="1"/>

		<div class="control-group">
			<label class="control-label"><?= lang('image_image') ?></label>
			<div class="controls">
				<img style="width: 150px; margin-bottom: 5px" id="albumImage"  src="<?=image_url($data->thumb)?>?>"/>
				<input type="hidden" name="image_id" />
			</div>
			<div class="controls">
				<input id="selectfile" type="button" class="btn" value="<?= lang('select_file') ?>"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?=lang('image_link')?></label>
			<div class="controls">
				<input class="input-large" type="text" name="link"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?=lang('image_position')?></label>
			<div class="controls">
				<select name="position">
					<option value="0"><?=lang('disable')?></option>
					<option value="1"><?=lang('slide')?></option>
					<option value="2"><?=lang('banner_left')?></option>
					<option value="3"><?=lang('logo')?></option>
					<option value="4"><?=lang('banner_top')?></option>
					<option value="5"><?=lang('banner_bottom')?></option>
					
				</select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?=lang('image_target_blank')?></label>
			<div class="controls">
				<input class="input-large" type="checkbox" name="target"/>
			</div>
		</div>
		<hr>
		<div>
			<input type="submit" class="btn btn-success" />
			<button class="btn"><?= lang('cancel') ?></button>
		</div>
	</form>
</section>